2009-03-11 Tor Lillqvist <tml@iki.fi>
Bug 574794 - Can not resize shaped windows on Windows
* gdk/win32/gdkevents-win32.c (gdk_event_translate): On handling
WM_WINDOWPOSCHANGED, don't do anything if the position and size
hasn't changed. I am not exactly sure I understand why this helps
this particular bug.
svn path=/trunk/; revision=22511
+2009-03-11 Tor Lillqvist <tml@iki.fi>
+
+ Bug 574794 - Can not resize shaped windows on Windows
+
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate): On handling
+ WM_WINDOWPOSCHANGED, don't do anything if the position and size
+ hasn't changed. I am not exactly sure I understand why this helps
+ this particular bug.
+
2009-03-10 Matthias Clasen <mclasen@redhat.com>
Bug 574561 – gtk_style_get "shadows" g_object_get
buf))))),
windowpos->cx, windowpos->cy, windowpos->x, windowpos->y)));
+ /* If position and size haven't changed, don't do anything */
+ if (_sizemove_in_progress &&
+ (windowpos->flags & SWP_NOMOVE) &&
+ (windowpos->flags & SWP_NOSIZE))
+ break;
+
/* Once we've entered the moving or sizing modal loop, we won't
* return to the main loop until we're done sizing or moving.
*/